package net.dbtrans.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.mybatis.jpa.persistence.JpaBaseEntity;

@Entity
@Table(name = "DBT_PIPELINE_MAPPER")
public class PipelineMapper extends JpaBaseEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8952688489508538410L;
	@Id
	@Column
	@GeneratedValue(strategy = GenerationType.AUTO, generator = "snowflakeid")
	String id;
	@Column
	String fromColumn;
	@Column
	String fromDataType;
	@Column
	String toColumn;
	@Column
	String toDataType;
	@Column
	String toDefaultValue;
	@Column
	int sortIndex;
	@Column
	int status;
	@Column
	String createdBy;
	@Column
	String createdDate;
	@Column
	String modifiedBy;
	@Column
	String modifiedDate;
	@Column
	String description;
	@Column
	String instId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFromColumn() {
		return fromColumn;
	}

	public void setFromColumn(String fromColumn) {
		this.fromColumn = fromColumn;
	}

	public String getFromDataType() {
		return fromDataType;
	}

	public void setFromDataType(String fromDataType) {
		this.fromDataType = fromDataType;
	}

	public String getToColumn() {
		return toColumn;
	}

	public void setToColumn(String toColumn) {
		this.toColumn = toColumn;
	}

	public String getToDataType() {
		return toDataType;
	}

	public void setToDataType(String toDataType) {
		this.toDataType = toDataType;
	}

	public String getToDefaultValue() {
		return toDefaultValue;
	}

	public void setToDefaultValue(String toDefaultValue) {
		this.toDefaultValue = toDefaultValue;
	}

	public int getSortIndex() {
		return sortIndex;
	}

	public void setSortIndex(int sortIndex) {
		this.sortIndex = sortIndex;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(String createdDate) {
		this.createdDate = createdDate;
	}

	public String getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public String getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(String modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getInstId() {
		return instId;
	}

	public void setInstId(String instId) {
		this.instId = instId;
	}

	public PipelineMapper() {
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("PipelineMapper [id=");
		builder.append(id);
		builder.append(", fromColumn=");
		builder.append(fromColumn);
		builder.append(", fromDataType=");
		builder.append(fromDataType);
		builder.append(", toColumn=");
		builder.append(toColumn);
		builder.append(", toDataType=");
		builder.append(toDataType);
		builder.append(", toDefaultValue=");
		builder.append(toDefaultValue);
		builder.append(", sortIndex=");
		builder.append(sortIndex);
		builder.append(", status=");
		builder.append(status);
		builder.append(", createdBy=");
		builder.append(createdBy);
		builder.append(", createdDate=");
		builder.append(createdDate);
		builder.append(", modifiedBy=");
		builder.append(modifiedBy);
		builder.append(", modifiedDate=");
		builder.append(modifiedDate);
		builder.append(", description=");
		builder.append(description);
		builder.append(", instId=");
		builder.append(instId);
		builder.append("]");
		return builder.toString();
	}
	
	
}
